#include <PortableDeviceApi.h>
#include <PortableDevice.h>    
#include "atlbase.h"
#include "WPDException.h"
#include <vcclr.h>
#include "WPDContentObject.h"

WPDContentObject::WPDContentObject(String^ objectID)
{
	m_Properties = gcnew System::Collections::Generic::Dictionary<PropertyGUID^, Property^>();
	m_ObjectID = objectID;

	//m_Properties->Add(WPD_OBJECT_ID);
	m_Properties->Add(gcnew PropertyGUID((void *)&WPD_OBJECT_PARENT_ID),m_ParrentObjectID);
	m_Properties->Add(gcnew PropertyGUID((void *)&WPD_OBJECT_FORMAT),m_ObjectFormat);
	/*m_Properties->Add(WPD_OBJECT_NAME);
	m_Properties->Add(WPD_OBJECT_PERSISTENT_UNIQUE_ID);

	m_Properties->Add(WPD_OBJECT_CONTENT_TYPE);
	m_Properties->Add(WPD_OBJECT_SIZE);
	m_Properties->Add(WPD_OBJECT_SYNC_ID);
	m_Properties->Add(WPD_OBJECT_ORIGINAL_FILE_NAME);
	m_Properties->Add(WPD_OBJECT_DATE_CREATED);
	m_Properties->Add(WPD_OBJECT_DATE_MODIFIED);
	m_Properties->Add(WPD_OBJECT_KEYWORDS);*/
}

WPDContentObject::~WPDContentObject(void)
{
}

void WPDContentObject::readProperties()
{

}

ContentObject^ WPDContentObject::create()
{
	return gcnew WPDContentObject("");
}